package com.woniu.shop.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 门店申请表
 * </p>
 *
 * @author LiFangyu
 * @since 2023-02-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_shop_apply")
@ApiModel(value="ShopApply对象", description="门店申请表")
public class ShopApply implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "申请ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "门店ID")
    private String shopId;

    @ApiModelProperty(value = "门店名称")
    private String shopName;

    @ApiModelProperty(value = "门店地址")
    private String shopAddress;

    @ApiModelProperty(value = "门店介绍")
    private String shopDescription;

    @ApiModelProperty(value = "营业执照编号")
    private String businessLicenseNum;

    @ApiModelProperty(value = "营业执照图片地址")
    private String businessLicensePic;

    @ApiModelProperty(value = "申请人姓名")
    private String applyName;

    @ApiModelProperty(value = "申请人性别")
    private String applyGender;

    @ApiModelProperty(value = "申请人身份证号")
    private String applyIdNo;

    @ApiModelProperty(value = "申请人手机号")
    private String applyPhone;

    @ApiModelProperty(value = "申请人邮箱")
    private String applyEmail;

    @ApiModelProperty(value = "申请状态;1:待审核 2:通过 3:驳回")
    private String applyStatus;

    @ApiModelProperty(value = "初始登录密码")
    private String initPassword;

    @ApiModelProperty(value = "审核意见")
    private String handleResult;

    @ApiModelProperty(value = "逻辑删除;0:正常 1:删除")
    @TableLogic
    private String isDeleted;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createdTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updatedTime;


}
